var express = require('express');
var router = express.Router();

const {getAllErrors,addError,removeError} = require("./../controller/errorsController");

//获取所有错题
router.get('/getAllErrors', getAllErrors);
//删除错题
router.post("/removeError",removeError);
//添加错题
router.post("/addError",addError);


module.exports = router;
